Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Snekfetch is a fast, efficient, and user-friendly library for making HTTP requests.
The API was inspired by superagent, however it is much smaller and faster. In fact, in browser, it is a mere 4.4kb.
Documentation is available at https://snekfetch.js.org/
const request = require('snekfetch');
request.post('https://httpbin.org/post')
.send({ usingGoodRequestLibrary: true })
.then(r => console.log(r.body)); // r.body is object from json response
request.get('https://s.gc.gy/o-SNAKES.jpg')
.then(r => fs.writeFile('download.jpg', r.body)); // r.body is buffer
request.get('https://s.gc.gy/o-SNAKES.jpg')
.pipe(fs.createWriteStream('download.jpg')); // pipes
Available for browser as UMD from unpkg
<script src=https://unpkg.com/snekfetch></script>
FAQs
Just do http requests without all that weird nastiness from other libs
The npm package snekfetch receives a total of 5,921 weekly downloads. As such, snekfetch popularity was classified as popular.
We found that snekfetch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.